home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’87 / Source ƒ.sit / Source ƒ / communications source ƒ / Vax Xmodem to MacTerminal / MACX.HLP < prev    next >
Encoding:
Text File  |  1987-02-21  |  5.5 KB  |  141 lines  |  [TEXT/MARC]

  1. 1 MACX
  2.  
  3. MACX lets you upload Macintosh files to the VAX and download Macintosh files
  4. from the VAX.  The files can be of any type, including MacPaint pictures,
  5. formatted MacWrite files, fonts, and applications.
  6.  
  7. To use MACX, you MUST be running MacTerminal (you can't use any other
  8. terminal program), and your file transfer settings must be:
  9.  
  10.     Transfer Method   (*) XMODEM        ( ) Text
  11.     Remote System     (*) MacTerminal   ( ) Other
  12.  
  13. The other settings don't matter.  Notice that you set "remote system" to
  14. "MacTerminal" even though the remote system is really a VAX.
  15.  
  16. MACX commands can be abbreviated to one character.  C)atalog will show you
  17. what files are available.  The main commands are C)atalog, U)pload, D)ownload,
  18. and Q)uit.  Special commands are available for text files.
  19. 2 Catalog
  20.  
  21. C)atalog shows you what Macintosh files are available.
  22.  
  23. Notice that every Macintosh file has TWO NAMES: a Macintosh name and a VMS
  24. name.  The Macintosh name is the name the file had or will have on the 
  25. Macintosh; the VMS name is the name it has on the VMS system.  The Macintosh
  26. name is for information only.  In MACX commands, you must ALWAYS use the
  27. VMS name.
  28.  
  29. Advanced users: VMS filenames for Macintosh files have a default ".MAC"
  30. extension.  The Catalog command can be followed by an optional directory
  31. specification.
  32. 2 Download
  33.  
  34. To download a file, use the D command followed by the VMS name (NOT the
  35. Macintosh name) of the file you want.  For example:
  36.  
  37. VMS name   Macintosh file       Type             Size  Last modified
  38.  
  39. BACKGAMN   Backgammon           Application       31K   9-DEC-1984 08:24:21
  40. CALENDAR   calendar             Application       23K  25-AUG-1984 17:44:34
  41.  
  42. to download the Backgammon application, you would use the command
  43.  
  44.     MACX>d backgamn
  45.  
  46. MACX will automatically trigger MacTerminal to receive the file; you do not
  47. need to pull down any MacTerminal commands.
  48. 2 Upload
  49.  
  50. To upload a file, use the U command.  If you use U by itself, MACX will
  51. automatically name the VMS file by taking the first 9 alphanumeric
  52. characters in the Macintosh file name.  If you want to choose the VMS
  53. file name yourself, type it after the U:
  54.  
  55.     MACX>u myname
  56.  
  57. VMS file names are limited to 9 characters which must be letter or numerals.
  58. You may NOT use spaces or punctuation in a VMS file name.
  59.  
  60. After issuing the U)pload command, you must then tell MacTerminal to send
  61. the file by pulling down "Send file..." from the File menu.
  62. 2 Text
  63. Many Macintosh applications produce "TEXT" documents; for example, MacWrite
  64. if you save "Text only."  Macintosh "TEXT" documents are fairly easy to
  65. exchange with other computer systems.
  66.  
  67. Suppose that "TEXTDOC.MAC" is the VMS file name of a Macintosh text document.
  68. You cannot use TEXTDOC.MAC directly under VMS; although it is stored in the
  69. VMS system, it is not stored in the normal VMS text format, but in a format
  70. the mirrors the Macintosh format.  For example, you could not meaningfully
  71. edit TEXTDOC.MAC with EDT or TECO.  MACX does, however, provide tools for
  72. converting Macintosh text format to and from VMS text format.
  73.  
  74. The tools are TYPE, PRINT, IMPORT, EXPORT; these commands can be abbreviated
  75. to their initial character if desired. In addition, UPLOAD/TEXT and 
  76. DOWNLOAD/TEXT provide direct Mac-to-VMS text uploads and downloads.
  77. 3 Type
  78. The MACX command
  79.  
  80.     MACX>TYPE TEXTDOC
  81.  
  82. will display TEXTDOC on the screen.  TEXTDOC must be a Macintosh text file
  83. appearing in the MACX catalog; that is, it must have a VMS ".MAC" extension
  84. and a Macintosh "TEXT" type.
  85.  
  86. Lines exceeding 79 characters will be wrapped.  The wrap length can be
  87. changed by including a /WRAP qualifier; for example,
  88.  
  89.     MACX>TYPE TEXTDOC/WRAP=72
  90. 3 Print
  91. The MACX command
  92.  
  93.     MACX>PRINT TEXTDOC
  94.  
  95. will print TEXTDOC on the system printer.  TEXTDOC must be a Macintosh
  96. text file appearing in the MACX catalog; that is, it must have a VMS ".MAC"
  97. extension and a Macintosh "TEXT" type.
  98.  
  99. Lines exceeding 79 characters will be wrapped.  The wrap length can be
  100. changed by including a /WRAP qualifier; for example,
  101.  
  102.     MACX>PRINT TEXTDOC/WRAP=72
  103.  
  104. Printers other than the system printer can be specified with the /OUT
  105. qualifier; for example,
  106.  
  107.     MACX>PRINT TEXTDOC/OUT=QUME:
  108. 3 Import
  109. 3 Export
  110. 3 Upload
  111.     MACX>UPLOAD filename.ext/TEXT        performs a "text upload."
  112.  
  113. a) The file you send must be a Macintosh text file.  Examples of text files
  114. are: MacWrite files you save using the "TEXT ONLY" option; MacTerminal
  115. documents; files produced by MockWrite or captured by MockTerminal; and 
  116. MS-BASIC programs that have been saved with the TEXT option.
  117.  
  118. b) "filename.ext" should be a full VMS filename with extension; for example,
  119. "note.txt".  Do NOT use the extension ".mac".
  120.  
  121. c) You should use the normal MACX file transfer settings: XMODEM/MacTerminal.
  122. Do NOT use any other settings.
  123.  
  124. d) When the transfer is complete, the file will NOT appear in the MACX
  125. catalog.  It will appear in the normal VMS directory with the filename and
  126. extension you specified, and can be handled as a normal VMS text file.
  127.  
  128. 3 Download
  129.     MACX>DOWNLOAD filename.ext/TEXT        performs a "text download."
  130.  
  131. a) "filename.ext" should be a full VMS filename with extension; for example,
  132. "note.txt" or "letter.rno".  The file must be a normal VMS text file, one
  133. that you could edit with EDT or type out with TYPE.  These files will NOT
  134. appear in a MACX catalog.
  135.  
  136. b) You should use the normal MACX file transfer settings: XMODEM/MacTerminal.
  137. Do NOT use any other settings.
  138.  
  139. c) The downloaded file will appear on your Macintosh as a MacWrite TEXT
  140. file.
  141.